//
//  PictureView.h
//  iCarStyle
//
//  Created by liu nian on 14-4-18.
//  Copyright (c) 2014年 liunian. All rights reserved.
//

#import "UIBaseRefreshView.h"
#import "ReqObject.h"
@class PicModel;
@protocol PictureViewDelegate

@optional
- (void)toItemViewControllerWithSource:(NSArray *)source  picture:(PicModel*)picture;
@end

@interface PictureView : UIBaseRefreshView
@property (nonatomic, assign) id<PictureViewDelegate>pDelegate;
@property (nonatomic, retain) NSMutableArray *dataSource;
@property (nonatomic, assign) CatalogType    catalogType;
@property (nonatomic, assign) BOOL           isFirstRequest;
@property (nonatomic, strong) ReqObject     *objectReq;
- (id)initWithFrame:(CGRect)frame Catalog:(CatalogType)type;
- (void)endRefreshState;
- (void)hideNoDataView;
- (void)showNoDataView;
- (void)changeNoDataViewState;
- (void)reloadTable;

- (void)requestDataFinished;    //请求结束后执行操作由派生类自己实现
@end
